Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[applicationinsights] python multiapi config #16799

Merged
merged 4 commits into from
Nov 19, 2021

Conversation

RAY-316
Copy link
Contributor

@RAY-316 RAY-316 commented Nov 18, 2021

@openapi-workflow-bot
Copy link

Hi, @RAY-316 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 18, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/applicationinsights/resource-manager/readme.md
    tag: specification/applicationinsights/resource-manager/readme.md#tag-package-2021-11-01
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 18, 2021

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-python-track2 - track2_azure-mgmt-applicationinsights - 1.0.0
    +	Model MyWorkbookError no longer has parameter code
    +	Model MyWorkbookError no longer has parameter details
    +	Model MyWorkbookError no longer has parameter message
    +	Model WorkbookError no longer has parameter code
    +	Model WorkbookError no longer has parameter details
    +	Model WorkbookError no longer has parameter message
    +	Operation MyWorkbooksOperations.create_or_update has a new signature
    +	Operation MyWorkbooksOperations.list_by_resource_group has a new signature
    +	Operation MyWorkbooksOperations.update has a new signature
    +	Operation WorkbooksOperations.create_or_update has a new signature
    +	Operation WorkbooksOperations.create_or_update has a new signature
    +	Operation WorkbooksOperations.list_by_resource_group has a new signature
    +	Operation WorkbooksOperations.list_by_resource_group has a new signature
    +	Parameter location of model WorkbookResource is now required
    ️✔️azure-sdk-for-go - appinsights/mgmt/2020-02-02/insights - v59.3.0
    ️✔️azure-sdk-for-go - appinsights/mgmt/2015-05-01/insights - v59.3.0
    azure-sdk-for-go - preview/appinsights/mgmt/2020-02-02-preview/insights - v59.3.0
    +	Package was removed
    ️✔️azure-sdk-for-go - preview/appinsights/mgmt/2021-11-01-preview/insights - v59.3.0
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 14aed8e. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/applicationinsights/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.ApplicationInsights [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 14aed8e. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-applicationinsights [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ErrorResponse has a new parameter error
      info	[Changelog]   - Model WebTest has a new parameter validation_rules
      info	[Changelog]   - Model WebTest has a new parameter request
      info	[Changelog]   - Model ApplicationInsightsComponent has a new parameter force_customer_storage_for_profiler
      info	[Changelog]   - Model ApplicationInsightsComponent has a new parameter disable_local_auth
      info	[Changelog]   - Model WorkbookResource has a new parameter identity
      info	[Changelog]   - Model WorkbookResource has a new parameter etag
      info	[Changelog]   - Model WorkbookResource has a new parameter kind
      info	[Changelog]   - Model WorkbookError has a new parameter error
      info	[Changelog]   - Model WorkbooksListResult has a new parameter next_link
      info	[Changelog]   - Model MyWorkbookError has a new parameter error
      info	[Changelog]   - Model WorkbookUpdateParameters has a new parameter description
      info	[Changelog]   - Model WorkbookUpdateParameters has a new parameter revision
      info	[Changelog]   - Model MyWorkbookResource has a new parameter identity
      info	[Changelog]   - Model MyWorkbookResource has a new parameter etag
      info	[Changelog]   - Model Workbook has a new parameter description
      info	[Changelog]   - Model Workbook has a new parameter revision
      info	[Changelog]   - Model Workbook has a new parameter storage_uri
      info	[Changelog]   - Model Workbook has a new parameter identity
      info	[Changelog]   - Model Workbook has a new parameter etag
      info	[Changelog]   - Model Workbook has a new parameter system_data
      info	[Changelog]   - Model MyWorkbook has a new parameter storage_uri
      info	[Changelog]   - Model MyWorkbook has a new parameter identity
      info	[Changelog]   - Model MyWorkbook has a new parameter etag
      info	[Changelog]   - Model MyWorkbook has a new parameter system_data
      info	[Changelog]   - Model MyWorkbooksListResult has a new parameter next_link
      info	[Changelog]   - Added operation WorkbooksOperations.list_by_subscription
      info	[Changelog]   - Added operation WorkbooksOperations.revisions_list
      info	[Changelog]   - Added operation WorkbooksOperations.revision_get
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Parameter location of model WorkbookResource is now required
      info	[Changelog]   - Operation WorkbooksOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Operation WorkbooksOperations.create_or_update has a new signature
      info	[Changelog]   - Operation MyWorkbooksOperations.create_or_update has a new signature
      info	[Changelog]   - Operation MyWorkbooksOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Operation MyWorkbooksOperations.update has a new signature
      info	[Changelog]   - Operation WorkbooksOperations.create_or_update has a new signature
      info	[Changelog]   - Operation WorkbooksOperations.list_by_resource_group has a new signature
      info	[Changelog]   - Model ErrorResponse no longer has parameter message
      info	[Changelog]   - Model ErrorResponse no longer has parameter code
      info	[Changelog]   - Model WorkbookError no longer has parameter message
      info	[Changelog]   - Model WorkbookError no longer has parameter details
      info	[Changelog]   - Model WorkbookError no longer has parameter code
      info	[Changelog]   - Model MyWorkbookError no longer has parameter message
      info	[Changelog]   - Model MyWorkbookError no longer has parameter details
      info	[Changelog]   - Model MyWorkbookError no longer has parameter code
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 14aed8e. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2021-11-19 05:48:21 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-applicationinsights;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-11-19 05:48:21 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-11-19 05:48:21 INFO autorest --version=3.6.0 --use=@autorest/java@4.0.40 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/applicationinsights/azure-resourcemanager-applicationinsights --java.namespace=com.azure.resourcemanager.applicationinsights   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/applicationinsights/resource-manager/readme.md
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-applicationinsights
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Skip] pom already has module azure-resourcemanager-applicationinsights
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Skip] pom already has module sdk/applicationinsights
      cmderr	[generate.py] 2021-11-19 05:49:00 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2021-11-19 05:49:27 ERROR [COMPILE] Maven build fail
    • ️✔️azure-resourcemanager-applicationinsights [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-11-19 05:49:29 DEBUG Got artifact_id: azure-resourcemanager-applicationinsights
      cmderr	[Inst] 2021-11-19 05:49:29 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-11-19 05:49:29 ERROR Unmatch any jar in artifacts
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 14aed8e. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️appinsights/mgmt/2020-02-02/insights [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️appinsights/mgmt/2015-05-01/insights [View full logs
      info	[Changelog] No exported changes
    • ️✔️preview/appinsights/mgmt/2021-11-01-preview/insights [View full logs
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 14aed8e. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/applicationinsights/resource-manager/readme.md
    • ️✔️@azure/arm-appinsights [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/applicationInsightsManagementClient.js → ./dist/arm-appinsights.js...
      cmderr	[npmPack] created ./dist/arm-appinsights.js in 630ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 14aed8e. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️applicationinsights [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @RAY-316 RAY-316 assigned msyyc and unassigned akning-ms Nov 18, 2021
    @openapi-workflow-bot
    Copy link

    Hi @RAY-316, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    @msyyc
    Copy link
    Member

    msyyc commented Nov 19, 2021

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants